package com.rivulet.doj_backend.pojo;

public class UserInformation {
    private Integer id;
    private Integer age;
    private Integer sex;
    private String username;
    private String nickname;
    private String phone_number;
    private Integer uploadQuestion_number;
    private Integer joinClass_number;
    private Integer creatClass_number;

    public UserInformation(Integer id, Integer age, Integer sex, String username, String nickname, String phone_number, Integer uploadQuestion_number, Integer joinClass_number, Integer creatClass_number) {
        this.id = id;
        this.age = age;
        this.sex = sex;
        this.username = username;
        this.nickname = nickname;
        this.phone_number = phone_number;
        this.uploadQuestion_number = uploadQuestion_number;
        this.joinClass_number = joinClass_number;
        this.creatClass_number = creatClass_number;
    }
    public UserInformation(Integer age, Integer sex, String nickname, String phone_number) {
        this.age = age;
        this.sex = sex;
        this.nickname = nickname;
        this.phone_number = phone_number;
    }

    public UserInformation(String username, String nickname) {
        this.username = username;
        this.nickname = nickname;
    }

    public UserInformation() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPhone_number() {
        return phone_number;
    }

    public void setPhone_number(String phone_number) {
        this.phone_number = phone_number;
    }

    public Integer getUploadQuestion_number() {
        return uploadQuestion_number;
    }

    public void setUploadQuestion_number(Integer uploadQuestion_number) {
        this.uploadQuestion_number = uploadQuestion_number;
    }

    public Integer getJoinClass_number() {
        return joinClass_number;
    }

    public void setJoinClass_number(Integer joinClass_number) {
        this.joinClass_number = joinClass_number;
    }

    public Integer getCreatClass_number() {
        return creatClass_number;
    }

    public void setCreatClass_number(Integer creatClass_number) {
        this.creatClass_number = creatClass_number;
    }

    @Override
    public String toString() {
        return "UserInformation{" +
                "id=" + id +
                ", age=" + age +
                ", sex=" + sex +
                ", username='" + username + '\'' +
                ", nickname='" + nickname + '\'' +
                ", phone_number=" + phone_number +
                ", uploadQuestion_number=" + uploadQuestion_number +
                ", joinClass_number=" + joinClass_number +
                ", creatClass_number=" + creatClass_number +
                '}';
    }
}